import { Button, Card, Form, Input, Select, Space, Table } from 'antd'
import { ColumnsType } from 'antd/lib/table';
import React from 'react'

const { Option } = Select;
export default function hospitalList() {
    const columns:ColumnsType<any> = [
        {
            title:'序号'
        },
        {
            title:'医院logo'
        },
        {
            title:'医院名称'
        },
        {
            title:'等级'
        },
        {
            title:'详细地址'
        },
        {
            title:'状态'
        },
        {
            title:'创建时间'
        },
        {
            title:'操作'
        }
    ]
    return (
        <Card>
            <Form layout='inline'>
                <Form.Item >
                    <Select className='mb' placeholder='请选择省' style={{ width: 180 }}>
                        <Option value="beijing">北京</Option>
                        <Option value="beijing">北京</Option>
                        <Option value="beijing">北京</Option>
                    </Select>
                </Form.Item>
                <Form.Item>
                    <Select placeholder='请选择市' style={{ width: 180 }}>
                        <Option value="beijing">北京</Option>
                        <Option value="beijing">北京</Option>
                        <Option value="beijing">北京</Option>
                    </Select>
                </Form.Item>
                <Form.Item>
                    <Select placeholder='请选择区' style={{ width: 180 }}>
                        <Option value="beijing">北京</Option>
                        <Option value="beijing">北京</Option>
                        <Option value="beijing">北京</Option>
                    </Select>
                </Form.Item>
                <Form.Item>
                    <Input placeholder='医院名称'/>
                </Form.Item>
                <Form.Item>
                    <Input placeholder='医院编号'/>
                </Form.Item>
                <Form.Item>
                    <Select placeholder='医院类型' style={{ width: 180 }}>
                        <Option value="beijing">北京</Option>
                        <Option value="beijing">北京</Option>
                        <Option value="beijing">北京</Option>
                    </Select>
                </Form.Item>
                <Form.Item>
                    <Select placeholder='医院状态' style={{ width: 180 }}>
                        <Option value="beijing">北京</Option>
                        <Option value="beijing">北京</Option>
                        <Option value="beijing">北京</Option>
                    </Select>
                </Form.Item>
                <Form.Item>
                    <Space>
                        <Button type='primary' htmlType='submit'>查询</Button>
                        <Button disabled>清空</Button>
                    </Space>
                </Form.Item>
            </Form>

            <Table
                className='mt'
                columns={columns}
            />
        </Card>
    )
}
